package com.hospital.registration.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;



import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 挂号费
 * </p>
 *
 * @author 史永康
 * @since 2020-10-22
 */
@Data
@Accessors(chain = true)
public class Registrationfee extends Model<Registrationfee> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 挂号费
     */
    private String name;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
